import request from '@/helpers/request.js'

export function checkBond(data) {
  return request({
    url: '/check_code/',
    method: "POST",
    data
  })
}

export function addStock(data) {
  return request({
    url:'/hold/',
    method: 'POST',
    headers: {'content-type': 'application/x-www-form-urlencoded; charset=utf-8'},
    data
  })
}